package sch.frog.structural.facade;

public class FacadeObject {

    private ModelA modelA;

    private ModelB modelB;

    public FacadeObject() {
        this.modelA = new ModelA();
        this.modelB = new ModelB();
    }

    public void startup(){
        modelB.open();
        modelA.begin();
    }

    public void shutdown(){
        modelA.end();
        modelB.close();
    }

}
